home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1998 July
/
EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso
/
earkit
/
news
/
thor
/
rexx
/
examples
/
farealist.br
< prev
next >
Wrap
Text File
|
1998-05-24
|
558b
|
37 lines
/* $VER: FAreaList.br 1.0 (5.9.96)
*
* Get file area list for a bbs.
*/
parse arg argument
if(argument = '') then
do
say '$VER: FAreaList.br V3.1 (10.08.94)'
say 'Template: BBSNAME/A'
exit
end
if ~show('p', 'BBSREAD') then do
address command
"run >nil: `GetEnv THOR/THORPath`bin/LoadBBSRead"
"WaitForPort BBSREAD"
end
address BBSREAD
GETFAREALIST stem FAREALIST argument
if(rc ~= 0) then
do
say BBSREAD.LASTERROR
exit
end
say 'Available file areas:'
do i=1 to FAREALIST.COUNT
say ' ' || FAREALIST.i
end
exit